package com.albaba.designpattern.bridge.text_002;

/**
 * @Description: TODO
 * @Author zx
 * @Date 2025/2/20 17:57
 * @Version 1.0
 */
public class TextPay {

    public static void main(String[] args) {

        Pay wxPay = new WxPay(new PayFaceMode());

        System.out.println(wxPay.transfer("10001", "10002"));

        String transfer = new WxPay(new PayCypherMode()).transfer("10001", "10002");
        System.out.println(transfer);

    }

}
